<html>
<head>
  <title>Cling</title>
  <script data-main="scripts/cling" src="scripts/require.js"></script>
  <link rel="stylesheet" href="style/import.css">
</head>
<body onload="selectMenu('jupyter')">
  <iframe seamless src="header.html" class="header" id="iheader"></iframe>
    <div id="breadcrumb"></div>
    <div id="content">
      <div id="main">
        <!-- insert the page content here -->

      <h3> Jupyter Kernel </h3>
      <p>Cling is now integrated with the <a href = "http://jupyter.org/" target = "_blank"> Jupyter</a> technology through the Jupyter kernel. You can take advantage of creating a Jupyter notebook on top of runtime interpretation, you have runtime visualisation!
      </p> 

      <img id = "jupyterscreenshot"
       src="JupyterScreenshot.png" alt="Cling Jupyter Screenshot" style=""/>

        <p>See also the [example notebook in cling's github repo](https://github.com/root-project/cling/blob/master/tools/Jupyter/kernel/cling.ipynb).</p>

<h3>Prerequisites</h3>
<ul>
<li> 
  ipykernel &ge; 4.0
</li>
</ul>
<h3>Install </h3>
To install the kernel with sources in src/tools/cling:
<pre><code>
    export PATH=/path/to/cling/bin:$PATH
    cd src/tools/cling/tools/Jupyter/kernel/

    pip install -e .
    # or: pip3 install -e .

    # register the kernelspec:
    jupyter-kernelspec install [--user] cling
    # or: jupyter kernelspec install [--user] cling

</code></pre>

To run it:
<pre><code>
    jupyter-notebook
    # or: jupyter notebook

</code></pre>

      </div>
    </div>
  <iframe seamless class="footer" src="footer.html"></iframe>
</body>
</html>
